package com.GPT.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Newuser {
    @TableId(type= IdType.ASSIGN_ID)
    private Long id;
    private String email;//账号
    private String passwordHash;//密码
    private String openid;
    private String nickname;//微信昵称
    private String headimgurl;//微信头像
    private String balance;
    private String code;
    private int isInviteCodeUsed;
    private Date createTime;
}
